QT += \
    concurrent \
    gui \
    location \
    network \
    opengl \
    positioning \
    qml \
    quick \
    quickcontrols2 \
    quickwidgets \
    sql \
    svg \
    widgets \
    xml \
    texttospeech \
    core-private

CONFIG     += plugin

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

LOCATION_PLUGIN_DESTDIR = QtLocationPlugin
LOCATION_PLUGIN_NAME    = QGeoServiceProviderFactoryQGC

INCLUDEPATH += "api" "QmlControls" "QtLocationPlugin" "QtLocationPlugin/QMLControl"

SOURCES += \
        MGCApplication.cpp \
        MGCPalette.cpp \
        MGCToolbox.cpp \
        QGCLoggingCategory.cc \
        QmlControls/MGroundControlQmlGlobal.cpp \
        QmlControls/QmlObjectListModel.cc \
        QmlControls/ScreenToolsController.cc \
        QtLocationPlugin/QMLControl/QGCMapEngineManager.cc \
        api/MGCCorePlugin.cpp \
        api/MGCOptions.cpp \
        api/QmlComponentInfo.cc \
        main.cpp

RESOURCES += qml.qrc \
    mgcresources.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    MGCApplication.h \
    MGCPalette.h \
    MGCToolbox.h \
    QGCLoggingCategory.h \
    QmlControls/MGroundControlQmlGlobal.h \
    QmlControls/QmlObjectListModel.h \
    QmlControls/ScreenToolsController.h \
    QtLocationPlugin/QMLControl/QGCMapEngineManager.h \
    api/MGCCorePlugin.h \
    api/MGCOptions.h \
    api/QmlComponentInfo.h

include(QtLocationPlugin/QGCLocationPlugin.pri)
